package org.example.elm.controller;

import org.example.elm.model.Business;
import org.example.elm.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/business")
public class BusinessController {
    @Autowired
    private BusinessService businessService;
    @RequestMapping("/listByOrderTypeId")
    public Business[] listBusinessByOrderTypeId(int orderTypeId) {
        return null;
    }

    @RequestMapping("/getById")
    public Business getBusinessById(int businessId) {
        return null;
    }

}
